////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   MENU_GROUP_LABEL
// AUTHOR           :   Victor Zheng 
// DATE CREATE      :   2005/12/21
// DESCRIPTION      :   a VO file for the function, MENU_GROUP_LABEL
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/12/21   Victor Zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.admin.menuGroupLabel.vo;

import java.sql.Timestamp;

import com.erp.app.admin.menuGroupLabel.pk.MenuGroupLabelPk;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.framework.model.vo.SimplePageEditStyleVo;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Victor Zheng 
* @version 1.0     2005/12/21
* @since           FrameWork 1.0
*
*/
public class MenuGroupLabelVo extends SimplePageEditStyleVo {

	//DB Table Name: T_MENU_GROUP_LABEL

	//PK Attributes
	private String companyCode;                      //DB Column Name: COMPANY_CODE
	private String groupId;                          //DB Column Name: GROUP_ID
	private String menuId;                           //DB Column Name: MENU_ID
	private String langCode;                         //DB Column Name: LANG_CODE

	//Other Attributes
	private String menuName;                         //DB Column Name: MENU_NAME
	private String menuWebLabel;                     //DB Column Name: MENU_WEB_LABEL
	private String createUser;                       //DB Column Name: CREATE_USER
	private Timestamp createDate;                    //DB Column Name: CREATE_DATE
	private String updateUser;                       //DB Column Name: UPDATE_USER
	private Timestamp updateDate;                    //DB Column Name: UPDATE_DATE
	private String menuType;                         //DB Column Name: MENU_TYPE

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.admin.menuGroupLabel.schema.MenuGroupLabelSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.admin.menuGroupLabel.dao.MenuGroupLabelDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.admin.menuGroupLabel.bizLogic.MenuGroupLabelBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new MenuGroupLabelPk(this.companyCode, this.groupId, this.menuId, this.langCode);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, groupId = " + this.groupId
			+ "\n, menuId = " + this.menuId
			+ "\n, langCode = " + this.langCode + "}\n";

		String colStr = "COL: {menuName = " + this.menuName
			+ "\n, menuWebLabel = " + this.menuWebLabel
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate
			+ "\n, menuType = " + this.menuType + "}\n";

		return "MenuGroupLabelVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public String getMenuId() {
		return this.menuId;
	}

	public String getLangCode() {
		return this.langCode;
	}

	public String getMenuName() {
		return this.menuName;
	}

	public String getMenuWebLabel() {
		return this.menuWebLabel;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public String getMenuType() {
		return this.menuType;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public void setLangCode(String langCode) {
		this.langCode = langCode;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public void setMenuWebLabel(String menuWebLabel) {
		this.menuWebLabel = menuWebLabel;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}